<?php

$clicolor=Array();
$clicolors['black'] = '0;30';
$clicolors['dark_gray'] = '1;30';
$clicolors['blue'] = '0;34';
$clicolors['light_blue'] = '1;34';
$clicolors['green'] = '0;32';
$clicolors['light_green'] = '1;32';
$clicolors['cyan'] = '0;36';
$clicolors['light_cyan'] = '1;36';
$clicolors['red'] = '0;31';
$clicolors['light_red'] = '1;31';
$clicolors['purple'] = '0;35';
$clicolors['light_purple'] = '1;35';
$clicolors['brown'] = '0;33';
$clicolors['yellow'] = '1;33';
$clicolors['light_gray'] = '0;37';
$clicolors['white'] = '1;37';


function clicolor_begin($cl){
	global $clicolors;
	echo "\033[".$clicolors[$cl]."m";
};

function clicolor_end(){
	echo "\033[0m";
}
